package org.opensource.home.service;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import org.opensource.home.model.Asset;
import org.springframework.stereotype.Service;

@Service
public class AssetService {

	public Object listCurrentAssets() {
		List<Asset> currentAssets = new ArrayList<Asset>();
		
		Asset asset = new Asset();
		asset.setName("Nomina Enero");
		asset.setValue(new BigDecimal(1530.15d));
		currentAssets.add(asset );
		
		asset = new Asset();
		asset.setName("INEM Marzo");
		asset.setValue(new BigDecimal(350.50d));
		currentAssets.add(asset);
		
		
		return currentAssets;
	}

}
